package com.baidu.bas.core.exception;

/**
 * @author liyuepeng
 * @date 2020-09-30
 */
public class EruptWebApiRuntimeException extends RuntimeException {

    private String serverCode;

    public EruptWebApiRuntimeException(String message) {
        super(message);
    }

    public EruptWebApiRuntimeException(String message,String serverCode) {
        super(message);
        this.serverCode = serverCode;
    }

    public String getServerCode() {
        return serverCode;
    }
}
